<%@ Register TagPrefix="Wrox" Namespace="WroxControls" 
			  Assembly="MyTextBox" %>

<script runat="server" language="C#">

	private void OnNameChanged( object sender, EventArgs e )
	{
		status.Text = "Value changed to " + name.Text;
	}

</script>

<html>
<body>

<form runat="server">

	<H3>TextBox Control</H3>
	<P>Enter a value: <Wrox:MyTextBox id="name" runat="server" OnTextChanged="OnNameChanged" />
	<BR>
	
	<ASP:Button Text="Postback" runat="server" />

	<P>
	<ASP:Label runat="server" id=status />

</form>

</body>
</html>
